
body{
    overflow-y: auto;
}
button{
    border: none;
}
header{
    display: flex;
    align-items: center;
    height: 0.6rem;
    background: #000;
    button{
        width: 0.84rem;
        height: 0.36rem;
        background: #f33;
        line-height: 0.36rem;
        border-radius: 0.05rem;
        font-size: 0.13rem;
        color: #fff;
        margin-right: 0.12rem;
    }
}
.ad{
    background: url(../images/X.png) no-repeat 0.12rem 0;
    background-size: 0.24rem 0.24rem;
    width: 0.46rem;
    height: 0.24rem;
    padding: 0 0.1rem 0 0.12rem;
}
.com{
    width: 0.48rem;
    height: 0.48rem;
    background: url(../images/com.png) no-repeat;
    background-size:  0.48rem 0.48rem;
}
.register{
    flex: 1;
    padding-left: 0.1rem;
    height: 100%;
    p{
        line-height: .24rem;
    }
}
.register>p:first-child{
    color: white;
    font-size: 0.13rem;
    margin-top: 0.07rem;
}
.register>p:last-child{
    font-size: 0.12rem;
    color: #999
}
.sticky{
    height: .44rem;
    top: 0;
    z-index: 999;
    position: sticky;
}
.search{
    width: 100%;
    height: .44rem;
    background: url(../images/background.png) no-repeat;
    background-size: 100% .44rem;
    display: flex;
    align-items: center;
}
.left{
    height: .3rem;
    flex: 1;
    background: #fff;
    background-color: hsla(0,0%,100%,.25);
    border-radius: .04rem;
    margin-left: .17rem;
    margin-right: .16rem;
    display: flex;
    align-items:center;
}
.glass{
    width: .13rem;
    height: .13rem;
    background: url(../images/glass.png) no-repeat;
    background-size: .13rem .13rem;
    margin: 0 .08rem;
}
.logo{
    width: .75rem;
    height: .12rem;
    background: url(../images/5lu.png) no-repeat;
    background-size: .75rem .12rem;
}
.shopcar{
    width: .22rem;
    height: .22rem;
    background: url(../images/shopcar.png) no-repeat;
    background-size: .22rem .22rem;
    position: relative;
    margin-right: .17rem;
}
.hideNav{
    display: none;
    ul{
        height: .39rem;
        background: #fff;
        display: flex;
        li{
            flex: 1;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .15rem;
            a{
                color: #999;
            }
        }
    } 
}


.banner{
    margin-top: -0.44rem;
}
.swiper-container{ 
    width: 100%;
    height: 4.12rem;
}
body .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 .05rem;
}
.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: #fff
}
.swiper-pagination .swiper-pagination-bullet{
    width: .09rem;
    height: .09rem;
    border: .01rem solid #fff;
    background-color: transparent;
    opacity: 1;
}
.nav ul{
    height: .75rem;
    width: 100%;
    top: 0;
    li{
        width: 20%;
        float:left;
        height: 100%;
        font-size: .12rem;
        background-size: 30% 30%;
        background-position: center 32%;
        background-repeat: no-repeat;
        a{
            display: block;
            width: 100%;
            height: 100%;
            color: #7e8c8d;
            text-align: center;
            padding-top: 63%;
        }
    }
   
}
.p1{
    background: url(../images/1.png);
}
.p2{
    background: url(../images/2.png);
}
.p3{
    background: url(../images/3.png);
}
.p4{
    background: url(../images/4.png);
}
.p5{
    background: url(../images/5.png);
}

.ad1{
    width: 100%;
    margin-bottom: .03rem;
    overflow: hidden;
    ul{
        li{
            float: left;
            width: 1.84rem;
            margin-bottom: .07rem;
            img{
                width: 100%;
                vertical-align: top;
            }
        }
    }
}
.newer{
    margin-bottom: .1rem;
    // position: relative;
    a{
        display: block;
        img{
            width: 100%;
            // vertical-align: center;
        }
    }
}
.rewen{
    padding: .1rem .035rem;
    background: #fff;
    ul{
        overflow: hidden;
        li{
            float: left;
            padding: 0 .035rem;
            width: .92rem;
            a{
                display: block;
                img{
                    width: 100%;
                }
            }
        }
    }
}
.goods{
    margin-bottom: .1rem;
    position: relative;
    a{
        display: block;
        .goodImg{
            position: relative;
            height: 0rem;
            padding-bottom: 78.1333%;
            overflow: hidden;
            span{
                position: absolute;
                bottom: 0;
                z-index: 0;
                content: " ";
                box-sizing: border-box;
                border: .09rem solid transparent;
                border-bottom-color: #fff;
                display: inline-block;
                left: 50%;
                margin-left: -0.09rem;
            }
            img{
                width: 100%;
                vertical-align: top;
            }
        }
    }
}
.art-text{
    text-align: left;
    padding: .18rem .2rem 0rem;
    background: #fff;
    .name{
        font-family: \\9ED1\4F53;
        font-weight: 700;
        display: block;
        font-size: .14rem;
        color: #333;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        padding-bottom: .18rem;
    }
    .detail{
        font-family: \\9ED1\4F53;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 12px;
        color: #999;
        height: 54px;
        line-height: 18px;
        padding-bottom: .2rem;
        border-bottom: .01rem solid #ccc;
    }
}

.goodsScroll{
    position: relative;
}
.ul-scroll{
    overflow: hidden;
    padding: .2rem .1rem;
    background: #fff;
    overflow-x: scroll;
    ul{
        display: flex;
        li{
            flex: 0 0 1.3rem;
            width: 1.3rem;
            padding: 0 .1rem;
            a{
                display: block;
                div{
                    height: 1.3rem;
                    align-items: center;
                    justify-content: center;
                    img{
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        vertical-align: middle;
                    }
                }
                .name{
                    text-align: center;
                    font-family: Aria;
                    font-size: .13rem;
                    padding: .1rem 0 .05rem;
                    color: #333;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
                .price{
                    text-align: center;
                    font-family: Aria;
                    font-size: .12rem;
                    color: #999;
                }
            }
        }
    }
}

.home{
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    background: #000;
    width: 100%;
    height: .48rem;
    ul{
        width: 100%;
        display: flex;
    }
    li{
        float: left;
        flex: 1;
        a{
            display: block;
            span{
                color: #7e8c8d;
                font-size: .22rem;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            p{  
                color: #7e8c8d;
                text-align: center;
                font-size: .10rem;
            }
            
        }
        
    }
}
.home .active{

    span{
        color: #fff;
    }
    p{
        color: #fff;
    }
}